{% extends "base.html" %}
{% block content %}
    <div class="in_border add_task_form">
        <form method="POST" action="/group/id{{ group_id }}/edit/">
            {% for field in group_form %}
                {% if field.errors %}
                    <div class="field_e">
                        <div class="field_label_e">{{ field.label_tag }}</div>
                        <div class="field_act_e">{{ field }}</div>
                            <span class="field_errors">
                                {% for err in field.errors %}
                                    <span class="field_error">{{ err }}&nbsp;</span>
                                {% endfor %}
                            </span>
                    </div>
                {% else %}
                    <div class="field">
                        <div class="field_label">{{ field.label_tag }}</div>
                        <div class="field_act">{{ field }}</div>
                    </div>
                {% endif %}
            {% endfor %}
            <p>
                <input type="submit" value="Отправить">
                <input type="reset" value="Очистить">
            </p>
        </form>
    </div>
{% endblock %}

